package ast;

public class ProcessAtSite extends Network {

	private Site s;
	private Process process;
	
	public ProcessAtSite(Site st, Process proc)
	{
		s = st;
		process = proc;
	}
	
	public Site getSite()
	{
		return s;
	}
	
	public Process getProcess()
	{
		return process;
	}
	
	public void setProcess(Process p)
	{
		process = p;
	}
	
	public String toString(int indent)
	{
		String res = "(@" + s.toString() + ")" + 
					 "(" + process.toString(0) + ")";
		return res;
	}
}
